runtime.profBuf.hdrsize (field)
17 uses
runtime (current package)
profbuf.go#L95: hdrsize uintptr
profbuf.go#L228: b.hdrsize = uintptr(hdrsize)
profbuf.go#L231: b.overflowBuf = make([]uint64, 2+b.hdrsize+1)
profbuf.go#L248: want := 2 + int(b.hdrsize) + nstk
profbuf.go#L276: want := 2 + int(b.hdrsize) + nstk1
profbuf.go#L288: want = 2 + int(b.hdrsize) + nstk2
profbuf.go#L307: if len(hdr) > int(b.hdrsize) {
profbuf.go#L360: if wd+2+int(b.hdrsize)+len(stk) > len(b.data) {
profbuf.go#L367: data[0] = uint64(2 + b.hdrsize + uintptr(len(stk))) // length
profbuf.go#L370: i := copy(data[2:2+b.hdrsize], hdr)
profbuf.go#L371: clear(data[2+i : 2+b.hdrsize])
profbuf.go#L373: data[2+b.hdrsize+uintptr(i)] = uint64(pc)
profbuf.go#L380: new := old.addCountsAndClearFlags(skip+2+len(stk)+int(b.hdrsize), 1)
profbuf.go#L468: dst[0] = uint64(2 + b.hdrsize + 1)
profbuf.go#L470: clear(dst[2 : 2+b.hdrsize])
profbuf.go#L471: dst[2+b.hdrsize] = uint64(count)
profbuf.go#L472: return dst[:2+b.hdrsize+1], overflowTag[:1], false
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |